package com.zero.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by zengzr on 2018/6/11.
 */
@RestController
public class AdminController {

    @RequestMapping("/hi")
    public String home() {
        return "SpringCloud,hi~,I am Admin" ;
    }
}
